package com.example.demo.bean;

import java.io.Serializable;

public class Elvis2 implements Serializable {

    private static int numOfObJects = 0;

    {
        numOfObJects++;
    }

    public static int getNumOfObJects() {
        return numOfObJects;
    }

}
